package com.liuhung.ash.fang.service;

import com.liuhung.ash.fang.dao.ProjectDao;
import com.liuhung.ash.fang.entity.Project;
import com.liuhung.ash.fang.page.ProjectPage;
import com.liuhung.base.service.BaseService;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 *	@ClassName: ProjectService 
 *  @Description: <b>项目服务层</b>
 *  @author 刘  鸿 
 *  @date 2015-10-4 13:37:53
 */ 
@Service("projectService")
@Transactional
public class ProjectService extends BaseService<Project> {
	private final static Logger log= Logger.getLogger(ProjectService.class);
	
	@Autowired
    private ProjectDao<Project> dao;
	public ProjectDao<Project> getDao() {
		return dao;
	}

	public List<Project>  queryByListWithAll(ProjectPage page)
	{
		return  dao.queryByListWithAll(page);
	}

}
